/* This file is part of the Crimsoon project
  * Copyright (C) 2009 Eduardo Henrique <eduardohleite@gmail.com>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
  * License as published by the Free Software Foundation; either
  * version 2 of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public License
  * along with this library; see the file COPYING.LIB.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  * Boston, MA 02110-1301, USA.
*/


#ifndef TRACK_H
#define TRACK_H

#include <QString>

class Track
{
public:
    Track();

    void inline setFileName(QString value) { filename = value; }
    void inline setTitle   (QString value) { title    = value; }
    void inline setArtist  (QString value) { artist   = value; }
    void inline setAlbum   (QString value) { album    = value; }
    void inline setTrack   (qint32  value) { track    = value; }
    void inline setLength  (qint32  value) { length   = value; }

    QString inline getFileName() { return filename; }
    QString inline getTitle   () { return title;    }
    QString inline getArtist  () { return artist;   }
    QString inline getAlbum   () { return album;    }
    qint32  inline getTrack   () { return track;    }
    qint32  inline getLength  () { return length;   }

private:
    QString filename;
    QString title;
    QString artist;
    QString album;
    qint32  track;
    qint32  length;
};

#endif // TRACK_H
